------------------------------
 DOOM 32X WAD CONVERTER v1.10
 Written by Damian Grove
------------------------------

This utility can export and export WAD data to/from the 32X port of DOOM. It
decompresses all the data and converts the formatting into the PC WAD format
so the WAD contents can be viewed and modified with existing WAD tools.

To use this tool, you must run it from the command prompt, or create a batch
file to run the tool with specific arguments. The usage is as follows:



wad32x.exe [command] [in file] [out file]
  example 1:  wad32x.exe -export doom32x.bin doompc.wad
  example 2:  wad32x.exe -import doompc.wad doom32x.bin



Maybe some of you will be interested in making some modifications to the 32X
version to create new levels, or perhaps use it to assist in porting something
like Chex Quest to the 32X. So far, I have used it to port Entryway (MAP01
from DOOM II) over to DOOM for 32X. I was also able to bring over E3M1. See
what you can do!



THINGS TO KNOW:

* Sprites in the 32X version of DOOM are indexed. This means that all sprites
should remain in their original order. You also cannot delete any sprites.

* Maps cannot exceed 96KB. Remove linedefs and sidedefs if necessary to cut
down on size.

* Not all things from the PC version are supported by the 32X version. There
are too many to name, but some of the unsupported things include the super
shotgun, Cyberdemon, Spider Mastermind, among others.

* Ceilings have a limit of 512 in the 32X version. This may pose a problem for
some DOOM II maps.

* TEXTURE1 is not ported when using import. Instead, the data is recreated
entirely using the patches available in the WAD.

* Make sure to keep the _32X_ lump in the WAD file to ensure proper import
operation. It should always be the first lump in the WAD file.



HISTORY:

Version 1.10 -- 01/15/2010
- Bug fix: import lump count corrected.
- Import sorts textures in ABC order, fixing MAP15 texture errors as a result.
- Null texture AASHITTY inserted in exports to fix problems viewing ASH01.
- COLORMAP converted to PC compatible format on export, and vise-versa.
- The _32X_ lump now contains version info used to dictate import behavior.

Version 1.00 -- 01/07/2010
- ROM output sizes are now in 1MB intervals.
- Import will now correct the checksum and file size info in the ROM header.

Version 0.99 -- 12/27/2009
- Bug fix: both lowercase and uppercase letters can now be used in commands.
- Import now inserts data into the ROM instead of creating a stand-alone WAD.
- Label inserted into WAD exports to indicate it came from the 32X version.

Version 0.95 -- 12/24/2009
- Command line arguments added.
- Importing is now supported, though limited to stand-alone WAD output.
